package com.example.demo.dao;

import com.example.demo.dto.Tool;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @Author 胡方博
 * @Date 2024-08-03  下午5:09
 **/
@Mapper
public interface ToolDao {
    @Select("select * from tool where id = #{id}")
    List<Tool> getUserById(Integer id);
}
